package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.entity.TestJob;

import java.util.List;

/**
 * <p>
 * job表 Mapper 接口
 * </p>
 *
 * @author yangzhenyu
 * @since 2023-04-27 04:38:45
 */
@Mapper
public interface TestJobMapper extends BaseMapper<TestJob> {
    @Select("select count(1) from test_job WHERE   sharding_item = #{item} ")
    int queryCount(int item );

}
